package com.hxgis.statisticanalysis.intelligentIndicator.pojo;

import com.hxgis.export.resource.TableRow;
import lombok.Data;

import java.util.List;


@Data
public class FailureWordBean {
    private String year;
    private String month;
    private List<SubBean> tableList;

    @Data
    public static class SubBean implements TableRow {
        private String serialNumber;
        private String startTime;
        private String declareTime;
        private String solveTime;
        private String reson;
        private String place;

        @Override
        public String[] rowData() {
            return new String[]{serialNumber, startTime, declareTime, solveTime, reson, place};
        }

        @Override
        public int templateRows() {
            return 1;
        }
    }

}
